package ModelLayer;


public class Supplier {
	
	private int supplierId;
	private String name;
	private String address;
	private String zipCode;
	private String phoneNumber;
	private String email;
	private String country;
	private String city;
	
	
	public Supplier(int supplierId, String name, String address, String zipCode, String city, String country, String phoneNumber, String email) 
	{
		this.supplierId = supplierId;
		System.out.println("Supplier - supplierID: "+supplierId);
		this.name = name;
		this.address = address;
		this.zipCode = zipCode;
		this.phoneNumber = phoneNumber;
		this.email = email; 
		this.country = country;
		this.city = city;
		System.out.println("........");
	}
	
	public Supplier()
	{
	
	}
	
	public Supplier(int supid)
	{
		this.supplierId = supid;
		System.out.println("Supplier constructor - this.supplierId = supid; "+supid);
	}


	/**
	 * @return the supplierId
	 */
	public int getSupplierId() {
		return supplierId;
	}


	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}


	/**
	 * @return the zipCode
	 */
	public String getZipCode() {
		return zipCode;
	}


	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}


	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}


	/**
	 * @return the country
	 */
	public String getCountry() {
		return country;
	}




	/**
	 * @param supplierId the supplierId to set
	 */
	public void setSupplierId(int supplierId) {
		this.supplierId = supplierId;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}


	/**
	 * @param zipCode the zipCode to set
	 */
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}


	/**
	 * @param phoneNumber the phoneNumber to set
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}


	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}


	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}




	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}
	

}
